package com.lyn.solitude

import android.os.Bundle
import com.lyn.solitude.databinding.ActivityMainBinding
import com.lyn.solitude.host_ui.fragment.PluginHostFragment

/**
 * @author longyn 2024/5/12
 * @version 1.0.0
 */
class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun getViewBinding(): ActivityMainBinding {
        return ActivityMainBinding.inflate(layoutInflater)
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        supportFragmentManager.beginTransaction()
            .replace(binding.content.id,PluginHostFragment())
            .commit()
    }
}